%%{init: {'themeVariables': { 'fontSize': '12px'}}}%%
graph TD
    classDef path fill:#eee,stroke:#000,color:#000
    classDef plan fill:#fff,stroke-width:1px,color:#000
    classDef itemplan fill:#fff,stroke-width:2px,color:#000
    classDef unbatchedplan fill:#dff,stroke-width:1px,color:#000
    classDef sideeffectplan fill:#fcc,stroke-width:2px,color:#000
    classDef bucket fill:#f6f6f6,color:#000,stroke-width:2px,text-align:left

    subgraph "Buckets for mutations/basics/update-relational-post"
    Bucket0("Bucket 0 (root)"):::bucket
    Bucket1("Bucket 1 (mutationField)<br />Deps: 14, 260, 9, 261, 2"):::bucket
    Bucket2("Bucket 2 (mutationField)<br />Deps: 260, 9, 262, 2<br /><br />1: Access[19]<br />2: Access[20]<br />3: Object[21]<br />4: PgUpdateSingle[18]"):::bucket
    Bucket3("Bucket 3 (mutationField)<br />Deps: 260, 9, 24, 2<br /><br />1: Access[26]<br />2: Access[27]<br />3: Object[28]<br />4: PgUpdateSingle[25]"):::bucket
    Bucket4("Bucket 4 (mutationField)<br />Deps: 263, 9, 24, 2<br /><br />1: Access[33]<br />2: Access[34]<br />3: Object[35]<br />4: PgUpdateSingle[32]"):::bucket
    Bucket5("Bucket 5 (nullableBoundary)<br />Deps: 11, 2<br /><br />ROOT PgUpdateSingle{1}ᐸrelational_posts(id;title,description,note)ᐳ[11]<br />1: 208, 217<br />ᐳ: 37, 46, 47, 216, 36, 48<br />2: PgSelectInlineApply[212]<br />3: PgSelect[45]<br />ᐳ: Access[213], Access[218]<br />4: PgSelectRows[50]<br />ᐳ: First[49], PgSelectSingle[51]"):::bucket
    Bucket6("Bucket 6 (nullableBoundary)<br />Deps: 18, 2<br /><br />ROOT PgUpdateSingle{2}ᐸrelational_posts(id;title,description,note)ᐳ[18]<br />1: 221, 230<br />ᐳ: 39, 54, 55, 229, 38, 56<br />2: PgSelectInlineApply[225]<br />3: PgSelect[53]<br />ᐳ: Access[226], Access[231]<br />4: PgSelectRows[58]<br />ᐳ: First[57], PgSelectSingle[59]"):::bucket
    Bucket7("Bucket 7 (nullableBoundary)<br />Deps: 25, 2<br /><br />ROOT PgUpdateSingle{3}ᐸrelational_posts(id;title,description,note)ᐳ[25]<br />1: 234, 243<br />ᐳ: 41, 62, 63, 242, 40, 64<br />2: PgSelectInlineApply[238]<br />3: PgSelect[61]<br />ᐳ: Access[239], Access[244]<br />4: PgSelectRows[66]<br />ᐳ: First[65], PgSelectSingle[67]"):::bucket
    Bucket8("Bucket 8 (nullableBoundary)<br />Deps: 32, 2<br /><br />ROOT PgUpdateSingle{4}ᐸrelational_posts(id;title,description,note)ᐳ[32]<br />1: 247, 256<br />ᐳ: 43, 70, 71, 255, 42, 72<br />2: PgSelectInlineApply[251]<br />3: PgSelect[69]<br />ᐳ: Access[252], Access[257]<br />4: PgSelectRows[74]<br />ᐳ: First[73], PgSelectSingle[75]"):::bucket
    Bucket9("Bucket 9 (nullableBoundary)<br />Deps: 51, 11, 213, 218<br /><br />ROOT PgSelectSingle{5}ᐸrelational_postsᐳ[51]<br />1: <br />ᐳ: 76, 80, 84, 88, 214, 219, 215, 220, 209<br />2: PgSelectRows[99], PgSelectRows[135]<br />ᐳ: 98, 100, 101, 134, 136, 137, 210, 211<br />3: PgSelectRows[165]<br />ᐳ: First[164], PgSelectSingle[166]"):::bucket
    Bucket10("Bucket 10 (nullableBoundary)<br />Deps: 59, 18, 226, 231<br /><br />ROOT PgSelectSingle{6}ᐸrelational_postsᐳ[59]<br />1: <br />ᐳ: 77, 81, 85, 89, 227, 232, 228, 233, 222<br />2: PgSelectRows[109], PgSelectRows[141]<br />ᐳ: 108, 110, 111, 140, 142, 143, 223, 224<br />3: PgSelectRows[176]<br />ᐳ: First[175], PgSelectSingle[177]"):::bucket
    Bucket11("Bucket 11 (nullableBoundary)<br />Deps: 67, 25, 239, 244<br /><br />ROOT PgSelectSingle{7}ᐸrelational_postsᐳ[67]<br />1: <br />ᐳ: 78, 82, 86, 90, 240, 245, 241, 246, 235<br />2: PgSelectRows[119], PgSelectRows[147]<br />ᐳ: 118, 120, 121, 146, 148, 149, 236, 237<br />3: PgSelectRows[187]<br />ᐳ: First[186], PgSelectSingle[188]"):::bucket
    Bucket12("Bucket 12 (nullableBoundary)<br />Deps: 75, 32, 252, 257<br /><br />ROOT PgSelectSingle{8}ᐸrelational_postsᐳ[75]<br />1: <br />ᐳ: 79, 83, 87, 91, 253, 258, 254, 259, 248<br />2: PgSelectRows[129], PgSelectRows[153]<br />ᐳ: 128, 130, 131, 152, 154, 155, 249, 250<br />3: PgSelectRows[198]<br />ᐳ: First[197], PgSelectSingle[199]"):::bucket
    Bucket13("Bucket 13 (nullableBoundary)<br />Deps: 166, 11<br /><br />ROOT PgSelectSingle{9}ᐸpeopleᐳ[166]"):::bucket
    Bucket14("Bucket 14 (nullableBoundary)<br />Deps: 177, 18<br /><br />ROOT PgSelectSingle{10}ᐸpeopleᐳ[177]"):::bucket
    Bucket15("Bucket 15 (nullableBoundary)<br />Deps: 188, 25<br /><br />ROOT PgSelectSingle{11}ᐸpeopleᐳ[188]"):::bucket
    Bucket16("Bucket 16 (nullableBoundary)<br />Deps: 199, 32<br /><br />ROOT PgSelectSingle{12}ᐸpeopleᐳ[199]"):::bucket
    end
    Bucket0 --> Bucket1 & Bucket2 & Bucket3 & Bucket4
    Bucket1 --> Bucket5
    Bucket2 --> Bucket6
    Bucket3 --> Bucket7
    Bucket4 --> Bucket8
    Bucket5 --> Bucket9
    Bucket6 --> Bucket10
    Bucket7 --> Bucket11
    Bucket8 --> Bucket12
    Bucket9 --> Bucket13
    Bucket10 --> Bucket14
    Bucket11 --> Bucket15
    Bucket12 --> Bucket16

    %% plan dependencies
    Object14{{"Object[14∈0] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    Access12{{"Access[12∈0] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access13{{"Access[13∈0] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access12 & Access13 --> Object14
    __Value2["__Value[2∈0] ➊<br />ᐸcontextᐳ<br />Dependents: 16"]:::plan
    PgUpdateSingle11[["PgUpdateSingle[11∈1] ➊<br />ᐸrelational_posts(id;title,description,note)ᐳ<br />More deps:<br />- Constantᐸ4ᐳ[260]<br />- Constantᐸundefinedᐳ[9]<br />- Constantᐸ'A description'ᐳ[261]"]]:::sideeffectplan
    Object14 --> PgUpdateSingle11
    PgUpdateSingle18[["PgUpdateSingle[18∈2] ➊<br />ᐸrelational_posts(id;title,description,note)ᐳ<br />More deps:<br />- Constantᐸ4ᐳ[260]<br />- Constantᐸundefinedᐳ[9]<br />- Constantᐸ'A note'ᐳ[262]"]]:::sideeffectplan
    Object21{{"Object[21∈2] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    Object21 --> PgUpdateSingle18
    Access19{{"Access[19∈2] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access20{{"Access[20∈2] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access19 & Access20 --> Object21
    PgUpdateSingle25[["PgUpdateSingle[25∈3] ➊<br />ᐸrelational_posts(id;title,description,note)ᐳ<br />More deps:<br />- Constantᐸ4ᐳ[260]<br />- Constantᐸundefinedᐳ[9]<br />- Constantᐸnullᐳ[24]"]]:::sideeffectplan
    Object28{{"Object[28∈3] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    Object28 --> PgUpdateSingle25
    Access26{{"Access[26∈3] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access27{{"Access[27∈3] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access26 & Access27 --> Object28
    PgUpdateSingle32[["PgUpdateSingle[32∈4] ➊<br />ᐸrelational_posts(id;title,description,note)ᐳ<br />More deps:<br />- Constantᐸ3141592ᐳ[263]<br />- Constantᐸundefinedᐳ[9]<br />- Constantᐸnullᐳ[24]"]]:::sideeffectplan
    Object35{{"Object[35∈4] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    Object35 --> PgUpdateSingle32
    Access33{{"Access[33∈4] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access34{{"Access[34∈4] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access33 & Access34 --> Object35
    PgSelect45[["PgSelect[45∈5] ➊<br />ᐸrelational_postsᐳ"]]:::plan
    Object48{{"Object[48∈5] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    PgClassExpression36{{"PgClassExpression[36∈5] ➊<br />ᐸ__relation...sts__.”id”ᐳ"}}:::plan
    PgSelectInlineApply212["PgSelectInlineApply[212∈5] ➊"]:::plan
    PgFromExpression216{{"PgFromExpression[216∈5] ➊"}}:::plan
    PgSelectInlineApply217["PgSelectInlineApply[217∈5] ➊"]:::plan
    Object48 & PgClassExpression36 & PgSelectInlineApply212 & PgFromExpression216 & PgSelectInlineApply217 --> PgSelect45
    Access46{{"Access[46∈5] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access47{{"Access[47∈5] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access46 & Access47 --> Object48
    Access37{{"Access[37∈5] ➊<br />ᐸ11.tᐳ"}}:::plan
    Access37 --> PgClassExpression36
    PgUpdateSingle11 --> Access37
    First49{{"First[49∈5] ➊"}}:::plan
    PgSelectRows50[["PgSelectRows[50∈5] ➊"]]:::plan
    PgSelectRows50 --> First49
    PgSelect45 --> PgSelectRows50
    PgSelectSingle51{{"PgSelectSingle[51∈5] ➊<br />ᐸrelational_postsᐳ"}}:::plan
    First49 --> PgSelectSingle51
    PgSelectInlineApply208["PgSelectInlineApply[208∈5] ➊"]:::plan
    PgSelectInlineApply208 --> PgSelectInlineApply212
    Access213{{"Access[213∈5] ➊<br />ᐸ45.m.joinDetailsFor132ᐳ"}}:::plan
    PgSelect45 --> Access213
    Access218{{"Access[218∈5] ➊<br />ᐸ45.m.joinDetailsFor93ᐳ"}}:::plan
    PgSelect45 --> Access218
    PgSelect53[["PgSelect[53∈6] ➊<br />ᐸrelational_postsᐳ"]]:::plan
    Object56{{"Object[56∈6] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    PgClassExpression38{{"PgClassExpression[38∈6] ➊<br />ᐸ__relation...sts__.”id”ᐳ"}}:::plan
    PgSelectInlineApply225["PgSelectInlineApply[225∈6] ➊"]:::plan
    PgFromExpression229{{"PgFromExpression[229∈6] ➊"}}:::plan
    PgSelectInlineApply230["PgSelectInlineApply[230∈6] ➊"]:::plan
    Object56 & PgClassExpression38 & PgSelectInlineApply225 & PgFromExpression229 & PgSelectInlineApply230 --> PgSelect53
    Access54{{"Access[54∈6] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access55{{"Access[55∈6] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access54 & Access55 --> Object56
    Access39{{"Access[39∈6] ➊<br />ᐸ18.tᐳ"}}:::plan
    Access39 --> PgClassExpression38
    PgUpdateSingle18 --> Access39
    First57{{"First[57∈6] ➊"}}:::plan
    PgSelectRows58[["PgSelectRows[58∈6] ➊"]]:::plan
    PgSelectRows58 --> First57
    PgSelect53 --> PgSelectRows58
    PgSelectSingle59{{"PgSelectSingle[59∈6] ➊<br />ᐸrelational_postsᐳ"}}:::plan
    First57 --> PgSelectSingle59
    PgSelectInlineApply221["PgSelectInlineApply[221∈6] ➊"]:::plan
    PgSelectInlineApply221 --> PgSelectInlineApply225
    Access226{{"Access[226∈6] ➊<br />ᐸ53.m.joinDetailsFor138ᐳ"}}:::plan
    PgSelect53 --> Access226
    Access231{{"Access[231∈6] ➊<br />ᐸ53.m.joinDetailsFor103ᐳ"}}:::plan
    PgSelect53 --> Access231
    PgSelect61[["PgSelect[61∈7] ➊<br />ᐸrelational_postsᐳ"]]:::plan
    Object64{{"Object[64∈7] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    PgClassExpression40{{"PgClassExpression[40∈7] ➊<br />ᐸ__relation...sts__.”id”ᐳ"}}:::plan
    PgSelectInlineApply238["PgSelectInlineApply[238∈7] ➊"]:::plan
    PgFromExpression242{{"PgFromExpression[242∈7] ➊"}}:::plan
    PgSelectInlineApply243["PgSelectInlineApply[243∈7] ➊"]:::plan
    Object64 & PgClassExpression40 & PgSelectInlineApply238 & PgFromExpression242 & PgSelectInlineApply243 --> PgSelect61
    Access62{{"Access[62∈7] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access63{{"Access[63∈7] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access62 & Access63 --> Object64
    Access41{{"Access[41∈7] ➊<br />ᐸ25.tᐳ"}}:::plan
    Access41 --> PgClassExpression40
    PgUpdateSingle25 --> Access41
    First65{{"First[65∈7] ➊"}}:::plan
    PgSelectRows66[["PgSelectRows[66∈7] ➊"]]:::plan
    PgSelectRows66 --> First65
    PgSelect61 --> PgSelectRows66
    PgSelectSingle67{{"PgSelectSingle[67∈7] ➊<br />ᐸrelational_postsᐳ"}}:::plan
    First65 --> PgSelectSingle67
    PgSelectInlineApply234["PgSelectInlineApply[234∈7] ➊"]:::plan
    PgSelectInlineApply234 --> PgSelectInlineApply238
    Access239{{"Access[239∈7] ➊<br />ᐸ61.m.joinDetailsFor144ᐳ"}}:::plan
    PgSelect61 --> Access239
    Access244{{"Access[244∈7] ➊<br />ᐸ61.m.joinDetailsFor113ᐳ"}}:::plan
    PgSelect61 --> Access244
    PgSelect69[["PgSelect[69∈8] ➊<br />ᐸrelational_postsᐳ"]]:::plan
    Object72{{"Object[72∈8] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ"}}:::plan
    PgClassExpression42{{"PgClassExpression[42∈8] ➊<br />ᐸ__relation...sts__.”id”ᐳ"}}:::plan
    PgSelectInlineApply251["PgSelectInlineApply[251∈8] ➊"]:::plan
    PgFromExpression255{{"PgFromExpression[255∈8] ➊"}}:::plan
    PgSelectInlineApply256["PgSelectInlineApply[256∈8] ➊"]:::plan
    Object72 & PgClassExpression42 & PgSelectInlineApply251 & PgFromExpression255 & PgSelectInlineApply256 --> PgSelect69
    Access70{{"Access[70∈8] ➊<br />ᐸ2.pgSettingsᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access71{{"Access[71∈8] ➊<br />ᐸ2.withPgClientᐳ<br />More deps:<br />- __Value[2]"}}:::plan
    Access70 & Access71 --> Object72
    Access43{{"Access[43∈8] ➊<br />ᐸ32.tᐳ"}}:::plan
    Access43 --> PgClassExpression42
    PgUpdateSingle32 --> Access43
    First73{{"First[73∈8] ➊"}}:::plan
    PgSelectRows74[["PgSelectRows[74∈8] ➊"]]:::plan
    PgSelectRows74 --> First73
    PgSelect69 --> PgSelectRows74
    PgSelectSingle75{{"PgSelectSingle[75∈8] ➊<br />ᐸrelational_postsᐳ"}}:::plan
    First73 --> PgSelectSingle75
    PgSelectInlineApply247["PgSelectInlineApply[247∈8] ➊"]:::plan
    PgSelectInlineApply247 --> PgSelectInlineApply251
    Access252{{"Access[252∈8] ➊<br />ᐸ69.m.joinDetailsFor150ᐳ"}}:::plan
    PgSelect69 --> Access252
    Access257{{"Access[257∈8] ➊<br />ᐸ69.m.joinDetailsFor123ᐳ"}}:::plan
    PgSelect69 --> Access257
    List210{{"List[210∈9] ➊<br />ᐸ209,136ᐳ"}}:::plan
    Access209{{"Access[209∈9] ➊<br />ᐸ215.m.joinDetailsFor162ᐳ"}}:::plan
    PgSelectSingle136{{"PgSelectSingle[136∈9] ➊<br />ᐸrelational_itemsᐳ"}}:::plan
    Access209 & PgSelectSingle136 --> List210
    List214{{"List[214∈9] ➊<br />ᐸ213,51ᐳ"}}:::plan
    Access213 & PgSelectSingle51 --> List214
    List219{{"List[219∈9] ➊<br />ᐸ218,51ᐳ"}}:::plan
    Access218 & PgSelectSingle51 --> List219
    PgClassExpression76{{"PgClassExpression[76∈9] ➊<br />ᐸ__relation...sts__.”id”ᐳ"}}:::plan
    PgSelectSingle51 --> PgClassExpression76
    PgClassExpression80{{"PgClassExpression[80∈9] ➊<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgClassExpression76 o--o PgClassExpression80
    PgClassExpression84{{"PgClassExpression[84∈9] ➊<br />ᐸ__relation...scription”ᐳ"}}:::plan
    PgClassExpression80 o--o PgClassExpression84
    PgClassExpression88{{"PgClassExpression[88∈9] ➊<br />ᐸ__relation...s__.”note”ᐳ"}}:::plan
    PgClassExpression84 o--o PgClassExpression88
    First98{{"First[98∈9] ➊"}}:::plan
    PgSelectRows99[["PgSelectRows[99∈9] ➊"]]:::plan
    PgSelectRows99 --> First98
    Lambda220{{"Lambda[220∈9] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda220 --> PgSelectRows99
    PgSelectSingle100{{"PgSelectSingle[100∈9] ➊<br />ᐸtextᐳ"}}:::plan
    First98 --> PgSelectSingle100
    PgClassExpression101{{"PgClassExpression[101∈9] ➊<br />ᐸ__relation..._lower__.vᐳ"}}:::plan
    PgSelectSingle100 --> PgClassExpression101
    First134{{"First[134∈9] ➊"}}:::plan
    PgSelectRows135[["PgSelectRows[135∈9] ➊"]]:::plan
    PgSelectRows135 --> First134
    Lambda215{{"Lambda[215∈9] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda215 --> PgSelectRows135
    First134 --> PgSelectSingle136
    PgClassExpression137{{"PgClassExpression[137∈9] ➊<br />ᐸ__relation..._archived”ᐳ"}}:::plan
    PgSelectSingle136 --> PgClassExpression137
    First164{{"First[164∈9] ➊"}}:::plan
    PgSelectRows165[["PgSelectRows[165∈9] ➊"]]:::plan
    PgSelectRows165 --> First164
    Lambda211{{"Lambda[211∈9] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda211 --> PgSelectRows165
    PgSelectSingle166{{"PgSelectSingle[166∈9] ➊<br />ᐸpeopleᐳ"}}:::plan
    First164 --> PgSelectSingle166
    Lambda215 --> Access209
    List210 --> Lambda211
    List214 --> Lambda215
    List219 --> Lambda220
    List223{{"List[223∈10] ➊<br />ᐸ222,142ᐳ"}}:::plan
    Access222{{"Access[222∈10] ➊<br />ᐸ228.m.joinDetailsFor173ᐳ"}}:::plan
    PgSelectSingle142{{"PgSelectSingle[142∈10] ➊<br />ᐸrelational_itemsᐳ"}}:::plan
    Access222 & PgSelectSingle142 --> List223
    List227{{"List[227∈10] ➊<br />ᐸ226,59ᐳ"}}:::plan
    Access226 & PgSelectSingle59 --> List227
    List232{{"List[232∈10] ➊<br />ᐸ231,59ᐳ"}}:::plan
    Access231 & PgSelectSingle59 --> List232
    PgClassExpression77{{"PgClassExpression[77∈10] ➊<br />ᐸ__relation...sts__.”id”ᐳ"}}:::plan
    PgSelectSingle59 --> PgClassExpression77
    PgClassExpression81{{"PgClassExpression[81∈10] ➊<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgClassExpression77 o--o PgClassExpression81
    PgClassExpression85{{"PgClassExpression[85∈10] ➊<br />ᐸ__relation...scription”ᐳ"}}:::plan
    PgClassExpression81 o--o PgClassExpression85
    PgClassExpression89{{"PgClassExpression[89∈10] ➊<br />ᐸ__relation...s__.”note”ᐳ"}}:::plan
    PgClassExpression85 o--o PgClassExpression89
    First108{{"First[108∈10] ➊"}}:::plan
    PgSelectRows109[["PgSelectRows[109∈10] ➊"]]:::plan
    PgSelectRows109 --> First108
    Lambda233{{"Lambda[233∈10] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda233 --> PgSelectRows109
    PgSelectSingle110{{"PgSelectSingle[110∈10] ➊<br />ᐸtextᐳ"}}:::plan
    First108 --> PgSelectSingle110
    PgClassExpression111{{"PgClassExpression[111∈10] ➊<br />ᐸ__relation..._lower__.vᐳ"}}:::plan
    PgSelectSingle110 --> PgClassExpression111
    First140{{"First[140∈10] ➊"}}:::plan
    PgSelectRows141[["PgSelectRows[141∈10] ➊"]]:::plan
    PgSelectRows141 --> First140
    Lambda228{{"Lambda[228∈10] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda228 --> PgSelectRows141
    First140 --> PgSelectSingle142
    PgClassExpression143{{"PgClassExpression[143∈10] ➊<br />ᐸ__relation..._archived”ᐳ"}}:::plan
    PgSelectSingle142 --> PgClassExpression143
    First175{{"First[175∈10] ➊"}}:::plan
    PgSelectRows176[["PgSelectRows[176∈10] ➊"]]:::plan
    PgSelectRows176 --> First175
    Lambda224{{"Lambda[224∈10] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda224 --> PgSelectRows176
    PgSelectSingle177{{"PgSelectSingle[177∈10] ➊<br />ᐸpeopleᐳ"}}:::plan
    First175 --> PgSelectSingle177
    Lambda228 --> Access222
    List223 --> Lambda224
    List227 --> Lambda228
    List232 --> Lambda233
    List236{{"List[236∈11] ➊<br />ᐸ235,148ᐳ"}}:::plan
    Access235{{"Access[235∈11] ➊<br />ᐸ241.m.joinDetailsFor184ᐳ"}}:::plan
    PgSelectSingle148{{"PgSelectSingle[148∈11] ➊<br />ᐸrelational_itemsᐳ"}}:::plan
    Access235 & PgSelectSingle148 --> List236
    List240{{"List[240∈11] ➊<br />ᐸ239,67ᐳ"}}:::plan
    Access239 & PgSelectSingle67 --> List240
    List245{{"List[245∈11] ➊<br />ᐸ244,67ᐳ"}}:::plan
    Access244 & PgSelectSingle67 --> List245
    PgClassExpression78{{"PgClassExpression[78∈11] ➊<br />ᐸ__relation...sts__.”id”ᐳ"}}:::plan
    PgSelectSingle67 --> PgClassExpression78
    PgClassExpression82{{"PgClassExpression[82∈11] ➊<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgClassExpression78 o--o PgClassExpression82
    PgClassExpression86{{"PgClassExpression[86∈11] ➊<br />ᐸ__relation...scription”ᐳ"}}:::plan
    PgClassExpression82 o--o PgClassExpression86
    PgClassExpression90{{"PgClassExpression[90∈11] ➊<br />ᐸ__relation...s__.”note”ᐳ"}}:::plan
    PgClassExpression86 o--o PgClassExpression90
    First118{{"First[118∈11] ➊"}}:::plan
    PgSelectRows119[["PgSelectRows[119∈11] ➊"]]:::plan
    PgSelectRows119 --> First118
    Lambda246{{"Lambda[246∈11] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda246 --> PgSelectRows119
    PgSelectSingle120{{"PgSelectSingle[120∈11] ➊<br />ᐸtextᐳ"}}:::plan
    First118 --> PgSelectSingle120
    PgClassExpression121{{"PgClassExpression[121∈11] ➊<br />ᐸ__relation..._lower__.vᐳ"}}:::plan
    PgSelectSingle120 --> PgClassExpression121
    First146{{"First[146∈11] ➊"}}:::plan
    PgSelectRows147[["PgSelectRows[147∈11] ➊"]]:::plan
    PgSelectRows147 --> First146
    Lambda241{{"Lambda[241∈11] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda241 --> PgSelectRows147
    First146 --> PgSelectSingle148
    PgClassExpression149{{"PgClassExpression[149∈11] ➊<br />ᐸ__relation..._archived”ᐳ"}}:::plan
    PgSelectSingle148 --> PgClassExpression149
    First186{{"First[186∈11] ➊"}}:::plan
    PgSelectRows187[["PgSelectRows[187∈11] ➊"]]:::plan
    PgSelectRows187 --> First186
    Lambda237{{"Lambda[237∈11] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda237 --> PgSelectRows187
    PgSelectSingle188{{"PgSelectSingle[188∈11] ➊<br />ᐸpeopleᐳ"}}:::plan
    First186 --> PgSelectSingle188
    Lambda241 --> Access235
    List236 --> Lambda237
    List240 --> Lambda241
    List245 --> Lambda246
    List249{{"List[249∈12] ➊<br />ᐸ248,154ᐳ"}}:::plan
    Access248{{"Access[248∈12] ➊<br />ᐸ254.m.joinDetailsFor195ᐳ"}}:::plan
    PgSelectSingle154{{"PgSelectSingle[154∈12] ➊<br />ᐸrelational_itemsᐳ"}}:::plan
    Access248 & PgSelectSingle154 --> List249
    List253{{"List[253∈12] ➊<br />ᐸ252,75ᐳ"}}:::plan
    Access252 & PgSelectSingle75 --> List253
    List258{{"List[258∈12] ➊<br />ᐸ257,75ᐳ"}}:::plan
    Access257 & PgSelectSingle75 --> List258
    PgClassExpression79{{"PgClassExpression[79∈12] ➊<br />ᐸ__relation...sts__.”id”ᐳ"}}:::plan
    PgSelectSingle75 --> PgClassExpression79
    PgClassExpression83{{"PgClassExpression[83∈12] ➊<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgClassExpression79 o--o PgClassExpression83
    PgClassExpression87{{"PgClassExpression[87∈12] ➊<br />ᐸ__relation...scription”ᐳ"}}:::plan
    PgClassExpression83 o--o PgClassExpression87
    PgClassExpression91{{"PgClassExpression[91∈12] ➊<br />ᐸ__relation...s__.”note”ᐳ"}}:::plan
    PgClassExpression87 o--o PgClassExpression91
    First128{{"First[128∈12] ➊"}}:::plan
    PgSelectRows129[["PgSelectRows[129∈12] ➊"]]:::plan
    PgSelectRows129 --> First128
    Lambda259{{"Lambda[259∈12] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda259 --> PgSelectRows129
    PgSelectSingle130{{"PgSelectSingle[130∈12] ➊<br />ᐸtextᐳ"}}:::plan
    First128 --> PgSelectSingle130
    PgClassExpression131{{"PgClassExpression[131∈12] ➊<br />ᐸ__relation..._lower__.vᐳ"}}:::plan
    PgSelectSingle130 --> PgClassExpression131
    First152{{"First[152∈12] ➊"}}:::plan
    PgSelectRows153[["PgSelectRows[153∈12] ➊"]]:::plan
    PgSelectRows153 --> First152
    Lambda254{{"Lambda[254∈12] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda254 --> PgSelectRows153
    First152 --> PgSelectSingle154
    PgClassExpression155{{"PgClassExpression[155∈12] ➊<br />ᐸ__relation..._archived”ᐳ"}}:::plan
    PgSelectSingle154 --> PgClassExpression155
    First197{{"First[197∈12] ➊"}}:::plan
    PgSelectRows198[["PgSelectRows[198∈12] ➊"]]:::plan
    PgSelectRows198 --> First197
    Lambda250{{"Lambda[250∈12] ➊<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda250 --> PgSelectRows198
    PgSelectSingle199{{"PgSelectSingle[199∈12] ➊<br />ᐸpeopleᐳ"}}:::plan
    First197 --> PgSelectSingle199
    Lambda254 --> Access248
    List249 --> Lambda250
    List253 --> Lambda254
    List258 --> Lambda259
    PgClassExpression200{{"PgClassExpression[200∈13] ➊<br />ᐸ__people__.”person_id”ᐳ"}}:::plan
    PgSelectSingle166 --> PgClassExpression200
    PgClassExpression204{{"PgClassExpression[204∈13] ➊<br />ᐸ__people__.”username”ᐳ"}}:::plan
    PgClassExpression200 o--o PgClassExpression204
    PgClassExpression201{{"PgClassExpression[201∈14] ➊<br />ᐸ__people__.”person_id”ᐳ"}}:::plan
    PgSelectSingle177 --> PgClassExpression201
    PgClassExpression205{{"PgClassExpression[205∈14] ➊<br />ᐸ__people__.”username”ᐳ"}}:::plan
    PgClassExpression201 o--o PgClassExpression205
    PgClassExpression202{{"PgClassExpression[202∈15] ➊<br />ᐸ__people__.”person_id”ᐳ"}}:::plan
    PgSelectSingle188 --> PgClassExpression202
    PgClassExpression206{{"PgClassExpression[206∈15] ➊<br />ᐸ__people__.”username”ᐳ"}}:::plan
    PgClassExpression202 o--o PgClassExpression206
    PgClassExpression203{{"PgClassExpression[203∈16] ➊<br />ᐸ__people__.”person_id”ᐳ"}}:::plan
    PgSelectSingle199 --> PgClassExpression203
    PgClassExpression207{{"PgClassExpression[207∈16] ➊<br />ᐸ__people__.”username”ᐳ"}}:::plan
    PgClassExpression203 o--o PgClassExpression207

    %% define steps
    classDef bucket0 stroke:#696969
    class Bucket0,__Value2,Access12,Access13,Object14 bucket0
    classDef bucket1 stroke:#00bfff
    class Bucket1,PgUpdateSingle11 bucket1
    classDef bucket2 stroke:#7f007f
    class Bucket2,PgUpdateSingle18,Access19,Access20,Object21 bucket2
    classDef bucket3 stroke:#ffa500
    class Bucket3,PgUpdateSingle25,Access26,Access27,Object28 bucket3
    classDef bucket4 stroke:#0000ff
    class Bucket4,PgUpdateSingle32,Access33,Access34,Object35 bucket4
    classDef bucket5 stroke:#7fff00
    class Bucket5,PgClassExpression36,Access37,PgSelect45,Access46,Access47,Object48,First49,PgSelectRows50,PgSelectSingle51,PgSelectInlineApply208,PgSelectInlineApply212,Access213,PgFromExpression216,PgSelectInlineApply217,Access218 bucket5
    classDef bucket6 stroke:#ff1493
    class Bucket6,PgClassExpression38,Access39,PgSelect53,Access54,Access55,Object56,First57,PgSelectRows58,PgSelectSingle59,PgSelectInlineApply221,PgSelectInlineApply225,Access226,PgFromExpression229,PgSelectInlineApply230,Access231 bucket6
    classDef bucket7 stroke:#808000
    class Bucket7,PgClassExpression40,Access41,PgSelect61,Access62,Access63,Object64,First65,PgSelectRows66,PgSelectSingle67,PgSelectInlineApply234,PgSelectInlineApply238,Access239,PgFromExpression242,PgSelectInlineApply243,Access244 bucket7
    classDef bucket8 stroke:#dda0dd
    class Bucket8,PgClassExpression42,Access43,PgSelect69,Access70,Access71,Object72,First73,PgSelectRows74,PgSelectSingle75,PgSelectInlineApply247,PgSelectInlineApply251,Access252,PgFromExpression255,PgSelectInlineApply256,Access257 bucket8
    classDef bucket9 stroke:#ff0000
    class Bucket9,PgClassExpression76,PgClassExpression80,PgClassExpression84,PgClassExpression88,First98,PgSelectRows99,PgSelectSingle100,PgClassExpression101,First134,PgSelectRows135,PgSelectSingle136,PgClassExpression137,First164,PgSelectRows165,PgSelectSingle166,Access209,List210,Lambda211,List214,Lambda215,List219,Lambda220 bucket9
    classDef bucket10 stroke:#ffff00
    class Bucket10,PgClassExpression77,PgClassExpression81,PgClassExpression85,PgClassExpression89,First108,PgSelectRows109,PgSelectSingle110,PgClassExpression111,First140,PgSelectRows141,PgSelectSingle142,PgClassExpression143,First175,PgSelectRows176,PgSelectSingle177,Access222,List223,Lambda224,List227,Lambda228,List232,Lambda233 bucket10
    classDef bucket11 stroke:#00ffff
    class Bucket11,PgClassExpression78,PgClassExpression82,PgClassExpression86,PgClassExpression90,First118,PgSelectRows119,PgSelectSingle120,PgClassExpression121,First146,PgSelectRows147,PgSelectSingle148,PgClassExpression149,First186,PgSelectRows187,PgSelectSingle188,Access235,List236,Lambda237,List240,Lambda241,List245,Lambda246 bucket11
    classDef bucket12 stroke:#4169e1
    class Bucket12,PgClassExpression79,PgClassExpression83,PgClassExpression87,PgClassExpression91,First128,PgSelectRows129,PgSelectSingle130,PgClassExpression131,First152,PgSelectRows153,PgSelectSingle154,PgClassExpression155,First197,PgSelectRows198,PgSelectSingle199,Access248,List249,Lambda250,List253,Lambda254,List258,Lambda259 bucket12
    classDef bucket13 stroke:#3cb371
    class Bucket13,PgClassExpression200,PgClassExpression204 bucket13
    classDef bucket14 stroke:#a52a2a
    class Bucket14,PgClassExpression201,PgClassExpression205 bucket14
    classDef bucket15 stroke:#ff00ff
    class Bucket15,PgClassExpression202,PgClassExpression206 bucket15
    classDef bucket16 stroke:#f5deb3
    class Bucket16,PgClassExpression203,PgClassExpression207 bucket16

    %% implicit side effects
    PgUpdateSingle11 -.-o Access46
    PgUpdateSingle11 -.-o Access47
    PgUpdateSingle11 -.-o PgSelectInlineApply208
    PgUpdateSingle11 -.-o PgFromExpression216
    PgUpdateSingle11 -.-o PgSelectInlineApply217
    PgUpdateSingle18 -.-o Access54
    PgUpdateSingle18 -.-o Access55
    PgUpdateSingle18 -.-o PgSelectInlineApply221
    PgUpdateSingle18 -.-o PgFromExpression229
    PgUpdateSingle18 -.-o PgSelectInlineApply230
    PgUpdateSingle25 -.-o Access62
    PgUpdateSingle25 -.-o Access63
    PgUpdateSingle25 -.-o PgSelectInlineApply234
    PgUpdateSingle25 -.-o PgFromExpression242
    PgUpdateSingle25 -.-o PgSelectInlineApply243
    PgUpdateSingle32 -.-o Access70
    PgUpdateSingle32 -.-o Access71
    PgUpdateSingle32 -.-o PgSelectInlineApply247
    PgUpdateSingle32 -.-o PgFromExpression255
    PgUpdateSingle32 -.-o PgSelectInlineApply256

